Post

Replies

Boosts

Views

Activity

Reply to How to add menu items to dock item when app not running
[quote='800626022, DTS Engineer, /thread/762250?answerId=800626022#800626022'] First off, are you sure you actually want a "NSDockTilePlugin"? NSDockTilePlugin is specifically how an app that ISN'T running can update it's dock icon [/quote] Hi Kevin. No I'm not sure but… what I want to provide for my app is a context menu on the dock icon that shows the last 10(?) folder URLs that were browsed from the app - just as Xcode shows the latest projects without having to open Xcode. [quote='800626022, DTS Engineer, /thread/762250?answerId=800626022#800626022'] Finally, on the menu side, dock menus are actually handled through the applicationDockMenu() delegate method. [/quote] I tried this but it didn't show the menu before the app was running. This is what I want, but with the list instead of just one and before the app has started. This seems to automatically take the title bar caption, which I set to a representative text of the URL. If NSDockTilePlugin is "deprecated", where can I find how to implement this "app extension" that you mention? Have I explained myself clearly enough? If not, please let me know. This is for an app that has been out there for several years and I just got a user request.
Aug ’24
Reply to How to add menu items to dock item when app not running
[quote='800626022, DTS Engineer, /thread/762250?answerId=800626022#800626022'] First off, are you sure you actually want a "NSDockTilePlugin"? NSDockTilePlugin is specifically how an app that ISN'T running can update it's dock icon [/quote] Hi Kevin. No I'm not sure but… what I want to provide for my app is a context menu on the dock icon that shows the last 10(?) folder URLs that were browsed from the app - just as Xcode shows the latest projects without having to open Xcode. [quote='800626022, DTS Engineer, /thread/762250?answerId=800626022#800626022'] Finally, on the menu side, dock menus are actually handled through the applicationDockMenu() delegate method. [/quote] I tried this but it didn't show the menu before the app was running. This is what I want, but with the list instead of just one and before the app has started. This seems to automatically take the title bar caption, which I set to a representative text of the URL. If NSDockTilePlugin is "deprecated", where can I find how to implement this "app extension" that you mention? Have I explained myself clearly enough? If not, please let me know. This is for an app that has been out there for several years and I just got a user request.
Replies
Boosts
Views
Activity
Aug ’24